package com.zzj.service.impl;

import com.zzj.bean.TabPower;
import com.zzj.dao.TabPowerMapper;
import com.zzj.service.TabPowerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * InnoDB free: 8192 kB 服务实现类
 * </p>
 *
 * @author 花
 * @since 2022-03-04
 */
@Service
public class TabPowerServiceImpl extends ServiceImpl<TabPowerMapper, TabPower> implements TabPowerService {

    @Resource
    private TabPowerMapper powerMapper;

    @Override
    public List<TabPower> findPowerByUserId(String uid) {
        return powerMapper.findPowerByUserId(uid);
    }
}
